package com.shop.cereshop.commons.domain.follow;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@TableName("cere_buyer_follow")
@Data
@Accessors(chain = true)
@ApiModel(value = "CereBuyerFollow", description = "客户关注信息实体类")
public class CereBuyerFollow {

    @TableId(value = "follow_id", type = IdType.AUTO)
    @ApiModelProperty(value = "关注id")
    private Long followId;

    @ApiModelProperty(value = "被关注的对象ID")
    private Long targetId;

    @ApiModelProperty(value = "关注者id")
    private Long buyerUserId;

    @ApiModelProperty(value = "关注类型：1-用户")
    private Integer followType;

    @ApiModelProperty(value = "关注状态：0-未关注 1-已关注")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
